﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ChinaUnicom.Controls
{
    public static class Message
    {
        static Message()
        {
        }

        public static void Tips(string message)
        {
            MessageBox.Show(message);
        }

        public static void Tips(string message, string caption)
        {
            MessageBox.Show(message, caption, MessageBoxButton.OK);
        }

        public static bool Ask(string message, string caption)
        {
            return MessageBox.Show(message, caption, MessageBoxButton.OKCancel) == MessageBoxResult.OK;
        }
    }
}
